package com.tps.cloud.system.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tps.cloud.entity.TenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户岗位表(SystemUserPost)
 */
@TableName("system_user")
@Data
@EqualsAndHashCode(callSuper = true)
public class SystemUserPost extends TenantEntity {

    private static final long serialVersionUID = 662558938338965975L;
    /**
     * 关联id
     */
    @TableId
    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 岗位id
     */
    private Long postId;

}

